package org.card.dao;

import org.card.bean.User;
import org.card.query.UserQuery;

import java.util.List;

/**
 * Created by card on 16/3/2.
 */
public interface UserDao {

    int insert(User user);

    List<User> selectList(UserQuery userQuery);

    int selectCount(UserQuery userQuery);

    int update(User user);
}
